<template>
    <div>
        <yd-navbar title="解绑账号"></yd-navbar>
        <yd-cell-group>
        <div class="descBox">
            <p><yd-icon name="question" color="#FFF76D"></yd-icon>解绑后需要重新绑定才能再次进入系统！</p>
            <p>点击下面的按钮来解除绑定。</p>
        </div>
        </yd-cell-group>
        <yd-button type="danger" size="large" @click.native="unbindAccount">解绑</yd-button>
    </div>
</template>

<script>
module.exports = {
    methods: {
        unbindAccount () {
            this.$store.commit('unauth')
        }
    }
}
</script>

<style scoped>
.descBox {
    margin: .2rem;
    padding: .2rem;
    display: block;
    font-size: .38rem;
}
</style>